package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.entity.Role;
import com.example.mapper.RoleMapper;
import com.example.service.RoleService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author circle48
* @description 针对表【role(角色表)】的数据库操作Service实现
* @createDate 2024-04-26 16:01:15
*/
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{

    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<String> getPermissionsByRoleIds(List<Long> roleIds) {
        return roleMapper.getPermissionsByRoleIds(roleIds);
    }


}




